/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.gemom;

/**
 *
 * @author Yair Diaz
 */
public class Item {

    private double itemRate;
    private double stdDev;
    private double revenueItem;
    private double revenueFactor;
    private int itemID;
    
    public Item(int itemID,double itemRate,double stdDev,double revenueFactor)
    {
        this.itemID=itemID;
        this.itemRate=itemRate; //is it the arithmetic mean of the series/??
        this.stdDev=stdDev;
        this.revenueFactor=revenueFactor;
        this.revenueItem=this.revenueFactor*this.itemRate;
    }
    public int getItemID(){return this.itemID;}
    public double getItemRate(){return this.itemRate;}
    public double getRevenueItem(){return this.revenueItem;}
    public double getRevenueFactor(){return this.revenueFactor;}
    public double getStdDev(){return this.stdDev;}
    public String toString(){return itemID+"";}
}
